package com.example.demo.importdemo.configrationbinddemo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//@Component
@ConfigurationProperties(prefix = "car")
@Data
public class Car {

    private String name;
}
